implemented adding of new options
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
let res = await post(url,new_option);
|
||||
if (res.ok){
|
||||
yikes();
|
||||
const json = await res.json();
|
||||
console.log(json);
|
||||
poll.options = json.options;
|
||||
} else error(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user