Implement Wettkampf mode with random type-aware question selection and answer persistence
This commit is contained in:
+9
-1
@@ -61,4 +61,12 @@ async function batchCreateRows(tableId, rows) {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { listRows, createRow, batchCreateRows };
|
||||
async function updateRow(tableId, rowId, data) {
|
||||
console.log(`[baserow] Update row ${rowId} in table ${tableId}`);
|
||||
return baserowFetch(`/database/rows/table/${tableId}/${rowId}/?user_field_names=true`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = { listRows, createRow, batchCreateRows, updateRow };
|
||||
Reference in New Issue
Block a user