taravancil / paste-dat

A tool for sharing files with Dat in the Beaker browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove archive.commit() depreciated method?

halas opened this issue · comments

There is a console warning:
The DatArchive commit() API has been deprecated. as indeed it is listed as depreciated method here dat://beakerbrowser.com/docs/apis/dat#commit
Although it is not clear to me what this method did. When I removed this line:

await archive.commit()

All seemed to work fine.

On irc @pfrazeee clarified this can be probably safely removed.
I made a PR: #21