Skip to content

Commit

Permalink
update logo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 10, 2024
1 parent fed6a65 commit 104e219
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WeDPR

![](https://wedpr-lab.readthedocs.io/zh_CN/latest/_static/images/wedpr_logo.png)
![](./static/images/wedpr_logo.png)


[![CodeFactor](https://www.codefactor.io/repository/github/webankblockchain/wedpr/badge?s=a4c3fb6ffd39e7618378fe13b6bd06c5846cc103)](https://www.codefactor.io/repository/github/webankblockchain/wedpr)
Expand Down
Binary file added static/images/wedpr_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.webank.wedpr.components.publish.entity.request.PublishSearchRequest;
import com.webank.wedpr.components.publish.entity.response.WedprPublishCreateResponse;
import com.webank.wedpr.components.publish.entity.response.WedprPublishSearchResponse;
import com.webank.wedpr.components.publish.helper.PublishServiceHelper;
import com.webank.wedpr.components.publish.service.WedprPublishedServiceService;
import com.webank.wedpr.components.publish.sync.api.PublishSyncerApi;
import java.util.Arrays;
Expand Down Expand Up @@ -71,9 +72,9 @@ public WeDPRResponse createPublishService(String username, PublishCreateRequest
publishCreate.checkServiceConfig(datasetMapper, username, WeDPRCommonConfig.getAgency());
publishCreate.setStatus(ServiceStatus.Publishing.getStatus());
this.publishedServiceMapper.insertServiceInfo(publishCreate);
boolean hasHook = this.serviceHook.onPublish(publishCreate.getServiceType(), publishCreate);
// without hook, set the status to success directly
if (!hasHook) {
this.serviceHook.onPublish(publishCreate.getServiceType(), publishCreate);
// non-pir service publish, set the status to success directly
if (!publishCreate.getPublishType().equals(PublishServiceHelper.PublishType.PIR)) {
PublishedServiceInfo updatedServiceInfo =
new PublishedServiceInfo(publishCreate.getServiceId());
updatedServiceInfo.setServiceStatus(ServiceStatus.PublishSuccess);
Expand Down

0 comments on commit 104e219

Please sign in to comment.