Nu med virkende AUTH
This commit is contained in:
10
test.ts
Normal file
10
test.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Exercise } from "./src/lib/types";
|
||||
import { createExercise } from "./src/repositories/exercise";
|
||||
|
||||
const data = {
|
||||
name: 'Hack Squat',
|
||||
muscleGroup: 'Legs',
|
||||
sfr: 0.2,
|
||||
}
|
||||
|
||||
console.log(await createExercise(data.name, data.muscleGroup, data.sfr))
|
||||
Reference in New Issue
Block a user