Skip to content

Commit

Permalink
Fixed editor parameter signature in creation callback
Browse files Browse the repository at this point in the history
  • Loading branch information
WilStead committed Apr 15, 2021
1 parent 5f6c796 commit b5e39df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: publish
env:
VERSION: '0.2.2-preview'
VERSION: '0.2.3-preview'
PRERELEASE: true
on:
push:
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.3-preview
### Fixed
- Fixed editor parameter signature in creation callback.

## 0.2.2-preview
### Added
- Add editor to creation callback.
Expand Down
2 changes: 1 addition & 1 deletion src/IWikiOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Tavenem.Wiki
/// </summary>
/// <param name="article">The new article.</param>
/// <param name="editor">The ID of the editor who created the article.</param>
public delegate ValueTask OnCreatedFunc(Article article, string? editor);
public delegate ValueTask OnCreatedFunc(Article article, string editor);

/// <summary>
/// The delegate signature used by <see cref="IWikiOptions.OnDeleted"/>.
Expand Down

0 comments on commit b5e39df

Please sign in to comment.