1. Reduce one bucket.Bucket call. 2. Use update helper instead of db.Update as in other functions. Signed-off-by: Jin Dong <djdongjin95@gmail.com>
8.8 KiB
8.8 KiB
1. Reduce one bucket.Bucket call. 2. Use update helper instead of db.Update as in other functions. Signed-off-by: Jin Dong <djdongjin95@gmail.com>