Add ability to view source for datasets
This commit is contained in:
@@ -168,6 +168,12 @@ export const app = new Elysia()
|
||||
}, {
|
||||
params: t.Object({ id: t.String() })
|
||||
})
|
||||
.patch("/datasets/:id", async ({ params: { id }, body: { name } }) => {
|
||||
await s.Standards.Datasets.update(id, name);
|
||||
}, {
|
||||
params: t.Object({ id: t.String() }),
|
||||
body: t.Object({ name: t.String() })
|
||||
})
|
||||
)
|
||||
|
||||
// COMMERCE
|
||||
|
||||
Reference in New Issue
Block a user